package com.landinfo.service;

import com.landinfo.service.dto.ResourcesSurveyDTO;

import java.util.List;

public interface ResourcesSurveyService {
    /**
     * Save a resourcesSurvey.
     *
     * @param resourcesSurveyDTO the entity to save
     * @return the persisted entity
     */
    ResourcesSurveyDTO save(ResourcesSurveyDTO resourcesSurveyDTO);

    /**
     * Get all the resourcesSurveys.
     *
     * @return the list of entities
     */
    List<ResourcesSurveyDTO> findAll();

    List<Object> getYears();

    /**
     * Get the "id" resourcesSurvey.
     *
     * @param id the id of the entity
     * @return the entity
     */
    ResourcesSurveyDTO findOne(String id);

    List<ResourcesSurveyDTO> findByXzqhCode(String xzqhCode,Integer year,String regionType);

    List<ResourcesSurveyDTO> findByXzqhParentCode(String xzqhCode);

    /**
     * Delete the "id" resourcesSurvey.
     *
     * @param id the id of the entity
     */
    void delete(String id);

}
